package com.gitee.cnlongdb.test.busitest;

import java.util.Date;
import java.util.List;
import java.util.Map;

import com.gitee.cnlongdb.basic.entity.LongdbBaseEntity;

public class TtestEntity extends LongdbBaseEntity {

	// 序列化ID
	private static final long serialVersionUID = -7626917154461752795L;
	
	// id
	private String id;
	
	// 编码
	private String code;
	
	// 名称
	private String name;
	
	// 年龄
	private Integer age;
	
	// 创建时间
	private Date createDate;
	
	// 字节数量
	private byte[] bytes;
	
	// 备注
	private String remark;
	
	// 别名字段
	private String userDetailCode;
	private String userDetailName;
	
	private List<String> list;
	
	private Map<String, String> map;
	
	public TtestEntity() {
	}
	
	public TtestEntity(String id, String code, int age, Date date) {
		this.id = id; 
		this.code = code;
		this.age = age;
		this.createDate = date;
	}
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public byte[] getBytes() {
		return bytes;
	}

	public void setBytes(byte[] bytes) {
		this.bytes = bytes;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getUserDetailCode() {
		return userDetailCode;
	}

	public void setUserDetailCode(String userDetailCode) {
		this.userDetailCode = userDetailCode;
	}

	public String getUserDetailName() {
		return userDetailName;
	}

	public void setUserDetailName(String userDetailName) {
		this.userDetailName = userDetailName;
	}

	public List<String> getList() {
		return list;
	}

	public void setList(List<String> list) {
		this.list = list;
	}

	public Map<String, String> getMap() {
		return map;
	}

	public void setMap(Map<String, String> map) {
		this.map = map;
	}

}
